package com.tlm.provider;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class ProviderController {
    @GetMapping("testProvider")
    public String testProvider(String name){
        /*UserVo userVo = new UserVo();
        userVo.setName("我是7010");*/
        return "7011"+name;
    }
    @PostMapping("testProviderPost")
    public UserVo testProviderPost(@RequestBody UserVo userVo){
        return userVo;
    }
}
